﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using SocialIn.Core;
using SocialIn.Biz;

namespace SocialIn.Web.UserControls
{
    public partial class UCFooter : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (HttpContext.Current.Session[ConfigName.SessionMember] != null)
                {
                    Member member = (Member)HttpContext.Current.Session[ConfigName.SessionMember];
                    if (member != null)
                    {
                        pnlLogin.Visible = false;
                    }
                }
            }
        }
    }
}